﻿<%@ Page Language="C#" MasterPageFile="~/SanPham.Master" AutoEventWireup="true" CodeBehind="DetailSanPham.aspx.cs" Inherits="GiaoDien.WebForm2" Title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="NoiDungChinh" runat="server">
    <div id="content_top"></div>
        <div id="content_middle">
	        <h3>Danh sách các mặt hàng</h3>
            <asp:DataList ID="DataList1" runat="server">
            <ItemTemplate>
                <div class="detail_box">
		            <a href=""><img src="http://hc10-em11-ncc.somee.com/Webservice_NCC/images/<%# Eval("HinhAnh") %>" alt="Golden Bell" width="120" height="165" /></a>
                  <h3>
                      <asp:Label ID="lblTenSanPham" runat="server" Text='<%# Eval("TenSanPham") %>'></asp:Label></h3>
                    <div class="sidebar_box_content"> 
                    <p class="price">Giá: <span>
                        <asp:Label ID="lblGiaBan" runat="server" Text='<%# Eval("GiaBanQuiDinh") %>'></asp:Label> 
                        VNĐ</span></p>
                        <p class="price">Nhà cung cấp : 
                            <asp:Label ID="lblNhaCungCap" runat="server" Text=''></asp:Label></p>
                        <p class="price">Mô tả : 
                            <asp:Label ID="lblMoTa" runat="server" Text='<%# Eval("MoTaSanPham") %>'></asp:Label></p>
                      <div class="cleaner"></div>
    	            </div>
                </div>
              <div class="cleaner"></div>
            </ItemTemplate>
            </asp:DataList>
             		   
             <table style="width: 350px">
                  <tr>
                      <td>
                          <asp:Label ID="Label1" runat="server" Text="Số Lượng Mua :"></asp:Label>
                      </td>
                      <td>
            <asp:TextBox ID="txtSoLuongMua" runat="server" Height="23px" Width="101px"></asp:TextBox>
                      </td>
                      <td>
                          <asp:LinkButton ID="lbtnDatMua" runat="server" onclick="lbtnDatMua_Click1">Đặt Mua</asp:LinkButton>
                          <asp:Image ID="Image1" runat="server" 
                              ImageUrl="~/images/templatemo_shopping_cart.png" />
                      </td>
                  </tr>
              </table>

          <div class="cleaner">
         
            </div>       
        </div>
    <div id="content_bottom"></div>
</asp:Content>
